<?php
$str=array('xxx'=>"cccc",'aaa'=>"bbbb");
$str=json_encode($str);
setcookie("usename",$str,time()+3600);




?>